package cn.kgc.takemanager01.service;

import cn.kgc.takemanager01.pojo.Takeout;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 郭祥伟
 */
public interface TakeoutService {
    //根据分类id查询，并分页
    public PageInfo<Takeout> select(Integer pageNum, Integer pageSize, Integer productId);
    //新增图书
    public Integer add(Takeout takeout);
    //根据id查询
    public Takeout selectById(Integer id);
    //根据id修改
    public Integer update(Takeout takeout);
    //根据id删除
    public Integer delete(Integer id);
}
